package com.aigou.dao;

import org.apache.ibatis.annotations.Select;

import com.aigou.pojo.UserDemo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface UserDemoDao extends BaseMapper<UserDemo> {
	
	@Select("select * from user where id = #{id} for update")
	public UserDemo findOne(Integer id);

}
